﻿using System;
using System.Collections.Generic;
using System.Data;

using System.Text;
using KPIS.GERP.ESS.DAL;

namespace KPIS.GERP.ESS.BLL
{
    public class HrmTrainingBLL
    {
        public static readonly HrmTrainingDAL DAL = new HrmTrainingDAL();

        public DataSet LoadTrainingCourses(Nullable<int> Sequence, bool Active)
        {
            return DAL.LoadTrainingCourses(Sequence, Active);
        }
        public DataSet LoadTrainingTrainee(Nullable<int> Sequence, Nullable<int> EmployeeSequence, Nullable<bool> Granted)
        {
            return DAL.LoadTrainingTrainee(Sequence, EmployeeSequence, Granted);
        }
        public void InsertTrainingTrainee(int EmployeeSequence, int CoursesSequence, int CreatedBy)
        {
            DAL.InsertTrainingTrainee(EmployeeSequence, CoursesSequence, CreatedBy);
        }
    }
}
